<template>
  <el-date-picker
    type="date"
    :value="value"
    @input="$emit('input', $event)"
    :clearable="clearable"
    :placeholder="placeholder"
    value-format="yyyy-MM-dd"
  >
  </el-date-picker>
</template>
<script>
export default {
  name: 'CDatePicker',
  components: {},
  props: {
    value: { type: String, default: '' },
    clearable: { type: Boolean, default: false },
    placeholder: { type: String, default: '' }
  },
  data() {
    return {}
  },
  computed: {},
  watch: {},
  beforeCreate() {},
  created() {},
  beforeMount() {},
  mounted() {},
  beforeUpdate() {},
  updated() {},
  activated() {},
  deactivated() {},
  beforeDestroy() {},
  destroyed() {},
  methods: {}
}
</script>
<style lang="scss"></style>
